package khs.java_dir.main.java;

import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) throws IOException
    {
        System.out.print("input path: ");
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String input_path = bufferedReader.readLine();
        
        File file = new File(input_path);
        String[] fileList = file.list();
        
        for(String fileListFile: fileList){
            System.out.println(fileListFile);
        }
    }
}
